package cn.wolfcode.crm.query;


import lombok.Getter;
import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;


@Setter
@Getter
public class CustomerReportQuery extends QueryObject{
    //定义两个实践类的属性,并贴上注解
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date beginDate;//开始时间
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date endDate;//结束时间
    //默认按照员工进行分组
    private String groupType="e.name";



}
